/**
 * @Author: yqe@360shop.cn
 * @Date: 2019-11-15 14:25:55
 * @Last Modified by: yqe@360shop.cn
 * @Last Modified time: 2019-11-15 14:26:43
 */
import request from '@/utils/request'

/**
 * 获取萝卜精灵游戏的详情信息
 * @param {*} params
 */
export function radishDetail(params) {
  return request({
    url: '/LuoboApi/detail',
    method: 'get',
    params
  })
}

/**
 * 拔萝卜的动作
 * @param {*} params
 */
export function radishPulling(params) {
  return request({
    url: '/LuoboApi/pullingLuobo',
    method: 'get',
    params
  })
}

/**
 * 萝卜兑换积分
 * @param {*} params
 */
export function exchangePoint(params) {
  return request({
    url: '/LuoboApi/exchangePoint',
    method: 'get',
    params
  })
}

/**
 * 萝卜兑换商品
 * @param {*} params
 */
export function exchangeGoods(params) {
  return request({
    url: '/LuoboApi/exchangeGoods',
    method: 'get',
    params
  })
}
